const app = {
  state: {
    collapsed: true
  },

  mutations: {
    SET_COLLAPSED(state, collapsed) {
      state.collapsed = collapsed
    }
  },

  actions: {
    collapsed({ commit }, collapsed) {
      commit('SET_COLLAPSED', collapsed)
    },
  },
  getters : {
    collapsed: (state) => state.collapsed
  }
}
export default app
